#include <iostream>
#include "test.h"

using namespace std;

struct s{
	int a;
	int b;
};
int main(void)
{
	Test t;
	Test t2(10);
	Test *t3 = new Test(5);
	int i;
	for(i = 0; i< t3->m_a; i++)
	{
		(t3->m_p)[i] = i + 1;
	}
	Test t4 = *t3;

	for(i = 0; i < t4.m_a; i++)
	{
		cout << (t4.m_p)[i] << " ";
	}
	cout << endl;

	delete t3;
	return 0;
}
